package com.nbgroup.dao;


import com.nbgroup.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

/*
 *   
 * @author 王玉涛  
 * @Date 2018/7/2 16:38
 * @param   
 * @return   
 */ 
public interface UserDao extends JpaRepository<User, Long> , JpaSpecificationExecutor<User>, PagingAndSortingRepository<User, Long> {

	User findByUsernameAndSts(String username,String sts);
}
